
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置Wharf的AutoMapper
    /// </summary>
	internal static class WharfMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Wharf,WharfListDto>();
            configuration.CreateMap <WharfListDto,Wharf>();

            configuration.CreateMap <WharfEditDto,Wharf>();
            configuration.CreateMap <Wharf,WharfEditDto>();

        }
	}
}
